﻿using System;
using System.Collections.Generic;

namespace MessagePack.Formatters
{
	// Token: 0x02000016 RID: 22
	public class InterfaceListFormatter<T> : CollectionFormatterBase<T, T[], IList<T>>
	{
		// Token: 0x0600004D RID: 77 RVA: 0x00002C86 File Offset: 0x00001086
		protected override void Add(T[] collection, int index, T value)
		{
			collection[index] = value;
		}

		// Token: 0x0600004E RID: 78 RVA: 0x00002C90 File Offset: 0x00001090
		protected override T[] Create(int count)
		{
			return new T[count];
		}

		// Token: 0x0600004F RID: 79 RVA: 0x00002C98 File Offset: 0x00001098
		protected override IList<T> Complete(T[] intermediateCollection)
		{
			return intermediateCollection;
		}
	}
}
